{extend name="_/layout" /}

{block name="body"}
<section class="content">
    <div class="container-fluid">
        <div class="row clearfix">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="card">
                    <div class="header">
                        <h2>角色列表</h2>
                    </div>
                    <div class="body">
                        <div class="list-group">
                            {foreach name="role_list" item="role" }
                            <a href="javascript:void(0);" class="list-group-item{eq name='key' value='0'} active{/eq}">
                                <h4 class="list-group-item-heading">{$role->name|default="未确定"}&emsp;<small>{$role->brief|default="无描述"}</small><span class="badge bg-cyan pull-right">99 read</span></h4>
                                <p class="list-group-item-text">{$role->permission_text|default="未确定权限范围"}</p>
                                
                            </a>
                            {/foreach}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</section>
{/block}

{block name="script"}
<script>
    $(function() {
        
    });
</script>
{/block}
